package com.entity;

import java.io.Serializable;

/**
 * @author 
 */
public class Member implements Serializable {
    private String mno;

    private String mname;

    private String mdesc;

    private String mimg;

    private String arbegintime;

    private String mwatchword;

    private String mpwd;

    private static final long serialVersionUID = 1L;

    public String getMno() {
        return mno;
    }

    public void setMno(String mno) {
        this.mno = mno;
    }

    public String getMname() {
        return mname;
    }

    public void setMname(String mname) {
        this.mname = mname;
    }

    public String getMdesc() {
        return mdesc;
    }

    public void setMdesc(String mdesc) {
        this.mdesc = mdesc;
    }

    public String getMimg() {
        return mimg;
    }

    public void setMimg(String mimg) {
        this.mimg = mimg;
    }

    public String getArbegintime() {
        return arbegintime;
    }

    public void setArbegintime(String arbegintime) {
        this.arbegintime = arbegintime;
    }

    public String getMwatchword() {
        return mwatchword;
    }

    public void setMwatchword(String mwatchword) {
        this.mwatchword = mwatchword;
    }

    public String getMpwd() {
        return mpwd;
    }

    public void setMpwd(String mpwd) {
        this.mpwd = mpwd;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Member other = (Member) that;
        return (this.getMno() == null ? other.getMno() == null : this.getMno().equals(other.getMno()))
            && (this.getMname() == null ? other.getMname() == null : this.getMname().equals(other.getMname()))
            && (this.getMdesc() == null ? other.getMdesc() == null : this.getMdesc().equals(other.getMdesc()))
            && (this.getMimg() == null ? other.getMimg() == null : this.getMimg().equals(other.getMimg()))
            && (this.getArbegintime() == null ? other.getArbegintime() == null : this.getArbegintime().equals(other.getArbegintime()))
            && (this.getMwatchword() == null ? other.getMwatchword() == null : this.getMwatchword().equals(other.getMwatchword()))
            && (this.getMpwd() == null ? other.getMpwd() == null : this.getMpwd().equals(other.getMpwd()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getMno() == null) ? 0 : getMno().hashCode());
        result = prime * result + ((getMname() == null) ? 0 : getMname().hashCode());
        result = prime * result + ((getMdesc() == null) ? 0 : getMdesc().hashCode());
        result = prime * result + ((getMimg() == null) ? 0 : getMimg().hashCode());
        result = prime * result + ((getArbegintime() == null) ? 0 : getArbegintime().hashCode());
        result = prime * result + ((getMwatchword() == null) ? 0 : getMwatchword().hashCode());
        result = prime * result + ((getMpwd() == null) ? 0 : getMpwd().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", mno=").append(mno);
        sb.append(", mname=").append(mname);
        sb.append(", mdesc=").append(mdesc);
        sb.append(", mimg=").append(mimg);
        sb.append(", arbegintime=").append(arbegintime);
        sb.append(", mwatchword=").append(mwatchword);
        sb.append(", mpwd=").append(mpwd);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}